home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / tpxtable / pxtdemo.dfm / pxtdemo.txt < prev   
Text File  |  1996-04-08  |  12KB  |  493 lines

  1. object ParadoxDemoForm: TParadoxDemoForm
  2.   Left = 78
  3.   Top = 3
  4.   Width = 760
  5.   Height = 599
  6.   Caption = 'Paradox cascaded delete demo'
  7.   Font.Color = clWindowText
  8.   Font.Height = -11
  9.   Font.Name = 'MS Sans Serif'
  10.   Font.Style = []
  11.   PixelsPerInch = 96
  12.   Position = poDefault
  13.   WindowState = wsMaximized
  14.   TextHeight = 13
  15.   object Image1: TImage
  16.     Left = 20
  17.     Top = 524
  18.     Width = 45
  19.     Height = 45
  20.     Picture.Data = {<image000.bmp>}
  21.     Stretch = True
  22.   end
  23.   object GroupBox1: TGroupBox
  24.     Left = 4
  25.     Top = 0
  26.     Width = 189
  27.     Height = 517
  28.     Caption = 'Master'
  29.     Color = clBtnFace
  30.     ParentColor = False
  31.     TabOrder = 0
  32.     object DBNavigator1: TDBNavigator
  33.       Left = 8
  34.       Top = 20
  35.       Width = 172
  36.       Height = 25
  37.       DataSource = MasterSource
  38.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  39.       TabOrder = 0
  40.     end
  41.     object DBGrid1: TDBGrid
  42.       Left = 8
  43.       Top = 48
  44.       Width = 173
  45.       Height = 461
  46.       Hint = 
  47.         'Master table - MasterCode field is linked to detail #1 and #2 ta' +
  48.         'bles'#39's MasterCode field'
  49.       Ctl3D = True
  50.       DataSource = MasterSource
  51.       Font.Color = clBlack
  52.       Font.Height = -11
  53.       Font.Name = 'MS Sans Serif'
  54.       Font.Style = []
  55.       ParentCtl3D = False
  56.       ParentFont = False
  57.       ParentShowHint = False
  58.       ShowHint = True
  59.       TabOrder = 1
  60.       TitleFont.Color = clWindowText
  61.       TitleFont.Height = -11
  62.       TitleFont.Name = 'MS Sans Serif'
  63.       TitleFont.Style = []
  64.     end
  65.   end
  66.   object GroupBox2: TGroupBox
  67.     Left = 204
  68.     Top = 0
  69.     Width = 189
  70.     Height = 285
  71.     Caption = 'Detail #1'
  72.     TabOrder = 1
  73.     object DBNavigator2: TDBNavigator
  74.       Left = 8
  75.       Top = 20
  76.       Width = 172
  77.       Height = 25
  78.       DataSource = DetailSource1
  79.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  80.       TabOrder = 0
  81.     end
  82.     object DBGrid2: TDBGrid
  83.       Left = 8
  84.       Top = 48
  85.       Width = 173
  86.       Height = 229
  87.       Hint = 
  88.         'Detail table #1 - MasterCode field is linked to master table'#39's M' +
  89.         'asterCode field'
  90.       DataSource = DetailSource1
  91.       Font.Color = clWindowText
  92.       Font.Height = -11
  93.       Font.Name = 'MS Sans Serif'
  94.       Font.Style = []
  95.       Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgCancelOnExit]
  96.       ParentFont = False
  97.       ParentShowHint = False
  98.       ShowHint = True
  99.       TabOrder = 1
  100.       TitleFont.Color = clWindowText
  101.       TitleFont.Height = -11
  102.       TitleFont.Name = 'MS Sans Serif'
  103.       TitleFont.Style = []
  104.     end
  105.   end
  106.   object GroupBox3: TGroupBox
  107.     Left = 204
  108.     Top = 292
  109.     Width = 189
  110.     Height = 285
  111.     Caption = 'Detail #2'
  112.     TabOrder = 2
  113.     object DBNavigator3: TDBNavigator
  114.       Left = 8
  115.       Top = 20
  116.       Width = 172
  117.       Height = 25
  118.       DataSource = DetailSource2
  119.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  120.       TabOrder = 0
  121.     end
  122.     object DBGrid3: TDBGrid
  123.       Left = 8
  124.       Top = 48
  125.       Width = 173
  126.       Height = 229
  127.       Hint = 
  128.         'Detail table #2 - MasterCode field is linked to master table'#39's M' +
  129.         'asterCode field'
  130.       DataSource = DetailSource2
  131.       Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgCancelOnExit]
  132.       ParentShowHint = False
  133.       ShowHint = True
  134.       TabOrder = 1
  135.       TitleFont.Color = clWindowText
  136.       TitleFont.Height = -11
  137.       TitleFont.Name = 'MS Sans Serif'
  138.       TitleFont.Style = []
  139.     end
  140.     object Detail2CheckBox: TCheckBox
  141.       Left = 104
  142.       Top = 0
  143.       Width = 61
  144.       Height = 16
  145.       Caption = 'View all'
  146.       Color = clBtnFace
  147.       Ctl3D = True
  148.       ParentColor = False
  149.       ParentCtl3D = False
  150.       TabOrder = 2
  151.       OnClick = Detail2CheckBoxClick
  152.     end
  153.   end
  154.   object GroupBox4: TGroupBox
  155.     Left = 404
  156.     Top = 0
  157.     Width = 193
  158.     Height = 285
  159.     Caption = 'SubDetail #1 / 1'
  160.     TabOrder = 3
  161.     object DBNavigator4: TDBNavigator
  162.       Left = 8
  163.       Top = 20
  164.       Width = 172
  165.       Height = 25
  166.       DataSource = SubDetail11Source
  167.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  168.       TabOrder = 0
  169.     end
  170.     object DBGrid4: TDBGrid
  171.       Left = 8
  172.       Top = 48
  173.       Width = 177
  174.       Height = 229
  175.       Hint = 
  176.         'SubDetail table #1 / 1 - DetailText field is linked to detail #1' +
  177.         ' table'#39's Detail1Text field'
  178.       DataSource = SubDetail11Source
  179.       Font.Color = clWindowText
  180.       Font.Height = -11
  181.       Font.Name = 'MS Sans Serif'
  182.       Font.Style = []
  183.       Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgCancelOnExit]
  184.       ParentFont = False
  185.       ParentShowHint = False
  186.       ShowHint = True
  187.       TabOrder = 1
  188.       TitleFont.Color = clWindowText
  189.       TitleFont.Height = -11
  190.       TitleFont.Name = 'MS Sans Serif'
  191.       TitleFont.Style = []
  192.     end
  193.   end
  194.   object GroupBox5: TGroupBox
  195.     Left = 604
  196.     Top = 0
  197.     Width = 193
  198.     Height = 285
  199.     Caption = 'SubDetail #2 / 1'
  200.     TabOrder = 4
  201.     object DBNavigator5: TDBNavigator
  202.       Left = 8
  203.       Top = 20
  204.       Width = 172
  205.       Height = 25
  206.       DataSource = SubDetail12Source
  207.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  208.       TabOrder = 0
  209.     end
  210.     object DBGrid5: TDBGrid
  211.       Left = 8
  212.       Top = 48
  213.       Width = 177
  214.       Height = 229
  215.       Hint = 
  216.         'SubDetail table #1 / 2 - DetailText field is linked to detail #1' +
  217.         ' table'#39's Detail1Text field'
  218.       DataSource = SubDetail12Source
  219.       Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgCancelOnExit]
  220.       ParentShowHint = False
  221.       ShowHint = True
  222.       TabOrder = 1
  223.       TitleFont.Color = clWindowText
  224.       TitleFont.Height = -11
  225.       TitleFont.Name = 'MS Sans Serif'
  226.       TitleFont.Style = []
  227.     end
  228.   end
  229.   object GroupBox6: TGroupBox
  230.     Left = 404
  231.     Top = 292
  232.     Width = 193
  233.     Height = 285
  234.     Caption = 'SubDetail #1 / 2'
  235.     TabOrder = 5
  236.     object DBNavigator6: TDBNavigator
  237.       Left = 8
  238.       Top = 20
  239.       Width = 172
  240.       Height = 25
  241.       DataSource = SubDetail21Source
  242.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  243.       TabOrder = 0
  244.     end
  245.     object DBGrid6: TDBGrid
  246.       Left = 8
  247.       Top = 48
  248.       Width = 177
  249.       Height = 229
  250.       Hint = 
  251.         'SubDetail table #2 / 1 - DetailText field is linked to detail #2' +
  252.         ' table'#39's Detail1Text field'
  253.       DataSource = SubDetail21Source
  254.       Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgCancelOnExit]
  255.       ParentShowHint = False
  256.       ShowHint = True
  257.       TabOrder = 1
  258.       TitleFont.Color = clWindowText
  259.       TitleFont.Height = -11
  260.       TitleFont.Name = 'MS Sans Serif'
  261.       TitleFont.Style = []
  262.     end
  263.   end
  264.   object GroupBox7: TGroupBox
  265.     Left = 604
  266.     Top = 292
  267.     Width = 193
  268.     Height = 285
  269.     Caption = 'SubDetail #2 / 2'
  270.     TabOrder = 6
  271.     object DBNavigator7: TDBNavigator
  272.       Left = 8
  273.       Top = 20
  274.       Width = 172
  275.       Height = 25
  276.       DataSource = SubDetail22Source
  277.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
  278.       TabOrder = 0
  279.     end
  280.     object DBGrid7: TDBGrid
  281.       Left = 8
  282.       Top = 48
  283.       Width = 177
  284.       Height = 229
  285.       Hint = 
  286.         'SubDetail table #2 / 2 - DetailText field is linked to detail #2' +
  287.         ' table'#39's Detail1Text field'
  288.       DataSource = SubDetail22Source
  289.       Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgCancelOnExit]
  290.       ParentShowHint = False
  291.       ShowHint = True
  292.       TabOrder = 1
  293.       TitleFont.Color = clWindowText
  294.       TitleFont.Height = -11
  295.       TitleFont.Name = 'MS Sans Serif'
  296.       TitleFont.Style = []
  297.     end
  298.   end
  299.   object Detail1CheckBox: TCheckBox
  300.     Left = 308
  301.     Top = 0
  302.     Width = 61
  303.     Height = 16
  304.     Caption = 'View all'
  305.     Color = clBtnFace
  306.     Ctl3D = True
  307.     ParentColor = False
  308.     ParentCtl3D = False
  309.     TabOrder = 7
  310.     OnClick = Detail1CheckBoxClick
  311.   end
  312.   object Detail11CheckBox: TCheckBox
  313.     Left = 508
  314.     Top = 0
  315.     Width = 61
  316.     Height = 16
  317.     Caption = 'View all'
  318.     Color = clBtnFace
  319.     Ctl3D = True
  320.     ParentColor = False
  321.     ParentCtl3D = False
  322.     TabOrder = 8
  323.     OnClick = Detail11CheckBoxClick
  324.   end
  325.   object Detail12CheckBox: TCheckBox
  326.     Left = 708
  327.     Top = 0
  328.     Width = 61
  329.     Height = 16
  330.     Caption = 'View all'
  331.     Color = clBtnFace
  332.     Ctl3D = True
  333.     ParentColor = False
  334.     ParentCtl3D = False
  335.     TabOrder = 9
  336.     OnClick = Detail12CheckBoxClick
  337.   end
  338.   object Detail21CheckBox: TCheckBox
  339.     Left = 508
  340.     Top = 292
  341.     Width = 61
  342.     Height = 16
  343.     Caption = 'View all'
  344.     Color = clBtnFace
  345.     Ctl3D = True
  346.     ParentColor = False
  347.     ParentCtl3D = False
  348.     TabOrder = 10
  349.     OnClick = Detail21CheckBoxClick
  350.   end
  351.   object Detail22CheckBox: TCheckBox
  352.     Left = 708
  353.     Top = 292
  354.     Width = 61
  355.     Height = 16
  356.     Caption = 'View all'
  357.     Color = clBtnFace
  358.     Ctl3D = True
  359.     ParentColor = False
  360.     ParentCtl3D = False
  361.     TabOrder = 11
  362.     OnClick = Detail22CheckBoxClick
  363.   end
  364.   object Button1: TButton
  365.     Left = 84
  366.     Top = 532
  367.     Width = 89
  368.     Height = 33
  369.     Caption = 'Exit'
  370.     Font.Color = clRed
  371.     Font.Height = -16
  372.     Font.Name = 'MS Sans Serif'
  373.     Font.Style = [fsBold]
  374.     ParentFont = False
  375.     TabOrder = 12
  376.     OnClick = Button1Click
  377.   end
  378.   object MasterTable: TPXTable
  379.     Active = True
  380.     AfterInsert = RefreshDetailTables
  381.     AfterEdit = RefreshDetailTables
  382.     AfterPost = RefreshDetailTables
  383.     AfterDelete = RefreshDetailTables
  384.     DatabaseName = 'PROBA'
  385.     TableName = 'MASTER.DB'
  386.     Left = 12
  387.     Top = 16
  388.   end
  389.   object MasterSource: TDataSource
  390.     DataSet = MasterTable
  391.     Left = 40
  392.     Top = 16
  393.   end
  394.   object DetailTable1: TPXTable
  395.     Active = True
  396.     AfterInsert = RefreshSubDetailTables1
  397.     AfterEdit = RefreshSubDetailTables1
  398.     AfterPost = RefreshSubDetailTables1
  399.     AfterDelete = RefreshSubDetailTables1
  400.     DatabaseName = 'PROBA'
  401.     IndexFieldNames = 'MasterCode'
  402.     MasterFields = 'MasterCode'
  403.     MasterSource = MasterSource
  404.     TableName = 'DETAIL1.DB'
  405.     Left = 212
  406.     Top = 16
  407.   end
  408.   object DetailSource1: TDataSource
  409.     DataSet = DetailTable1
  410.     Left = 240
  411.     Top = 16
  412.   end
  413.   object DetailTable2: TPXTable
  414.     Active = True
  415.     AfterInsert = RefreshSubDetailTables2
  416.     AfterEdit = RefreshSubDetailTables2
  417.     AfterPost = RefreshSubDetailTables2
  418.     AfterDelete = RefreshSubDetailTables2
  419.     DatabaseName = 'PROBA'
  420.     IndexFieldNames = 'MasterCode'
  421.     MasterFields = 'MasterCode'
  422.     MasterSource = MasterSource
  423.     TableName = 'DETAIL2.DB'
  424.     Left = 212
  425.     Top = 308
  426.   end
  427.   object DetailSource2: TDataSource
  428.     DataSet = DetailTable2
  429.     Left = 240
  430.     Top = 308
  431.   end
  432.   object SubDetail11Source: TDataSource
  433.     DataSet = SubDetail11Table
  434.     Left = 440
  435.     Top = 16
  436.   end
  437.   object SubDetail12Table: TPXTable
  438.     Active = True
  439.     DatabaseName = 'PROBA'
  440.     IndexFieldNames = 'Detail1Text'
  441.     MasterFields = 'Detail1Text'
  442.     MasterSource = DetailSource1
  443.     TableName = 'DETAIL1B.DB'
  444.     Left = 612
  445.     Top = 16
  446.   end
  447.   object SubDetail12Source: TDataSource
  448.     DataSet = SubDetail12Table
  449.     Left = 640
  450.     Top = 16
  451.   end
  452.   object SubDetail21Table: TPXTable
  453.     Active = True
  454.     DatabaseName = 'PROBA'
  455.     IndexFieldNames = 'Detail2Text'
  456.     MasterFields = 'Detail2Text'
  457.     MasterSource = DetailSource2
  458.     TableName = 'DETAIL2A.DB'
  459.     Left = 412
  460.     Top = 308
  461.   end
  462.   object SubDetail22Table: TPXTable
  463.     Active = True
  464.     DatabaseName = 'PROBA'
  465.     IndexFieldNames = 'Detail2Text'
  466.     MasterFields = 'Detail2Text'
  467.     MasterSource = DetailSource2
  468.     TableName = 'DETAIL2B.DB'
  469.     Left = 612
  470.     Top = 308
  471.   end
  472.   object SubDetail21Source: TDataSource
  473.     DataSet = SubDetail21Table
  474.     Left = 440
  475.     Top = 308
  476.   end
  477.   object SubDetail22Source: TDataSource
  478.     DataSet = SubDetail22Table
  479.     Left = 640
  480.     Top = 308
  481.   end
  482.   object SubDetail11Table: TPXTable
  483.     Active = True
  484.     DatabaseName = 'PROBA'
  485.     IndexFieldNames = 'Detail1Text'
  486.     MasterFields = 'Detail1Text'
  487.     MasterSource = DetailSource1
  488.     TableName = 'DETAIL1A.DB'
  489.     Left = 412
  490.     Top = 16
  491.   end
  492. end
  493.